require "homeland/activities/version"
require "homeland/activities/engine"

module Homeland
  module Activities
    # Your code goes here...
    ROOT_PATH = Pathname.new(File.join(__dir__, '..'))

    class << self
      def webpacker
        @webpacker ||= ::Webpacker::Instance.new(
          root_path: ROOT_PATH,
          config_path: ROOT_PATH.join('config/webpacker.yml')
        )
      end
    end
  end
end
